added Tile class to organize map objects and map tiles