Added Planet functionality (almost done)