Start to implement logic for background rendering
Implement background rendering