Removed AbstractTileGrid, for now.
Made TileGrid generic.