upgraded all Tile related files, now using TileDefinitions to define what values the properties of the tiles should have.