abstracted db interaction into rails-y interface in controller, pass reworked dbsetup and models packages for this