created beginning of terrain handler
merging