Cleanup code resolve dependencies.
Cleanup Map.cpp and resolve dependencies.
Cleanup and resolve dependencies of Tile.
Cleanup and resolve dependencies of TileEdge.