added a function to the tile map class for finding a tile by a gid
added pathfinding data to the level
moved the level related code out into a separate class and added parsing of the pathfinding data