Ensure we don't start when LocalStorage is in the config. Fixes #502
Adds a worker to automatically replicate data between storages and update the database accordingly