move rendering from Spaceship class to App class