RFT: Refactored YAGContext to use objectManager