Added IDBWrapper for cross-browser access to IndexedDB for data storage.