Added terrain gen code to server