databasemanager add currentDB interface