Created indexedDb database and setup form entry and grid.