Map painting

Git the Map to observer all game entities.
Rewrote the main map class in order to store resources and terrains elegantly.
This will be the map format that the level editor team changes to