extended the map and tile classes.
start a tiles file. bit verbose. any way to make it shorter?