Added terrain skeleton code