added two adapters: memory & indexeddb