Move scene rendering wrapper into a module