Add planet object and move terrain implementation to it.