add terrain script library
add skel of terrain functions