Started fixing the physics code to work with the new box2d implementation. There are still some problems to work out and the game is currently in a non working state.