add LogicManager class in PhysicsManager.h
fix a lot bugs with collision mask