extracted code to extract tiles from thre map to a new class, fixed some yellow triangles
merge