Clean up controller. Add examples of direct rendering.