Added open and close methods to the dbaccess classes