Moved all db connections to dbconn