combined all the tilemap code into one module