db connect function placed in own function in dbOps file.
DBOps should contain all table access functions such as add modify deleting of tables.