minor refactor of controller, plus a few tests
remove duplicate controller code
moved logic from controller to model
cleaner controller
resolution scoping, out of controller
adding responses is back