Changed variable to constant (capitalised name and added final).
Refactored methods in SpaceObject class.