basic planet class