Move TerrainBlock to a separate module.