makes use auf get Function instead of changing variables
removes parentStar of planets if dragged
removes unused varibales
removes orbitflag if no parentStar
removes inOrbit Flag if no parentStar