Changed to a design that separates the TMX tile definition from the usage as cells in a layer. This significantly improves the usability of the API and reuses tile instances.