create the dbmanager