Feature implementations

First version of the collision system has been implemented. Collision
for solid tiles are handled in the current scene. Some code has been
cleaned up.