[WIP] Tilemaps

This will be a long running pull request. Do not merge yet.