added importing from online stuff
fixed indexeddb so that multi key indices work, and also importing stuff and working offline