Terrain editor

#257 all of this will be gone