refactored massobject into planet, changes