rewrote most dbhandler functions as class or normal methods of model
classes
Merge branch 'dbrefuctor' of github.com:bergzand/domos into dbrefuctor