Clean up planet code

made calculateMove oop and added a script to rtate the planets