Some refactoring
Small fixed and additions.
Implemented physics engine..