An easy abstraction layer for indexedDB