Moved the physics code I wrote to the Physics class.
Moved the collision code