finished first iteration of tile layer class