adding class to draw terrain texture, unfinished