Initial adding of planet generator code