New physics implementation

This is a physics implementation based on Box2D, feature-compatible with the previous physics.