added Tile class to its own file
Cleaned up old code