Terrain class
code refactoring
Merge branch 'master' of https://github.com/mcsab/stk-editor