refactor the office form as separate class/handler, etc
refactor resolutions form; update some PARAM_* types
refactor base class a little; not 100% working just yet
loose ends
refactor db base class
more refactoring