Misc refactoring

* test and update dispatcher (partially, a number of actions)
* refactored a number of controllers in initial classes, moved utility/database functions to subs.
* standardize more a few action_ methods from drafts