Inject storages to repository service
Transition away from global config struct by injecting into the repository service, and adding helpers that take a storage object instead of accessing the global config.
part of: #2699 (closed)
Transition away from global config struct by injecting into the repository service, and adding helpers that take a storage object instead of accessing the global config.
part of: #2699 (closed)