Basic ECS (entity-component system), basic collision

Started implementation of a basic entity component system. I'm still
having trouble completely understanding it, but i feel it's something I
should figure out.

Also added basic collision with obstacles (walls).