Adding methods for tile id, implementing map generation and map functionality