Added map class

Moved map creation/rendering and collision detection to the map.class