Started over with the view, and went to a model based on the current

gravitycar site - nested objects that represent tags, which all know
how to render themselves. This should allow me to generate handlebar
templates for any module. Still lots to add, but all the basics are
in place. Also need to comment this code, there's no documentation!