Fix precompilation errors with Hamlbars templates.
Move router around.

I got tired of having to double-tab when doing name completion in vim.