Implement the usage of IndexedDB
Add idb package