Move scene rendering to separate class