Made The DB handler a little like our frontier

just setting up stuff for the db