added planet instance variable and getter method for planet in mainApplication