add ObjectManager and EventManager