Add render namespace with some initial rendering code that was moved from core
Change draw function in the main sketch to use the render function in the render namespace