create planet class