reorganized TileSystem files into a package