super basic functionality restored.  architecture refactor next, but I believe I'm converging on the 'right' path
...And added missing files
Template now in js.  Next up is make query handling a json get param, rather than url
Refactored api, made forms switchable (in a dumb way, I guess)