Created database abstraction and indexedDB plugin