Finalized basic physics.

It works. Unittested. Tested in basegameapp, collision happens.