add input manager, object manager.