Initial work on the rendering engine.