added initial data handler linked to indexedDB storage
added hooks into indexedDb data storage