Initial atempt of implementing IndexedDB

Please do not use the library until completition