Add sql database and indexeddb support