Added PhysicsManager class