Add renderer to handle rendering.

Pull logic out of handler. Move tests into renderer tests. Add hiccup.