A wrapper around the JS indexedDB to allow for syncing data with a server.