Added the TerrainLayer class