Render is now created inside main and passed into game