Renderer

Added renderer code.