Changed physics engine to use strategy pattern.
Merged changes from mannes::