Lightweight IndexedDB wrapper