Moves render method into main.rs.

To help support future parallelization, the render method has been moved
from the scene to the main module.