Add accessors in Map
Stuff in Layer
Separate lowlevel library from the game