Add shapes handling in PhysicsEntity constructor. All types are now lowercase.