Added basic collisions and semi-smoothed movement.

The movement is not complete yet, will have a better version coming
soon.