notes db facade