Started on integrating indexed db

Are thinking back and forth about using sync. vs. async API for
indexeddb since i am using a webworker for importing fit file. Some
info. indicates that sync. api can not be trusted/are
implemented->prefer async. for now. it seems to work