Interface to IndexedDB