The main issue is that QueryManager -> QueryContext. I don't think late binding would work, since in the distributed case, QueryContext will be reconstructed by Worker's Shiftboss.
So in the single node case, if Foreman could create QueryContext w/ StorageManager, it would be fine. Zuyu