Begin refactoring app.js
Move controller setup funcs to separate lib
Move main controller-action handling into method
More refactoring, finally get all helpers out