Before we extracted the store configuration from the configuration toml::Value object and passed it to the store. This is unecessary overhead. Now we pass the whole configuration object and let the store extract the required values.
This fixes errors (former warnings) in several locations.
This is actually a domain library and thus should be put into the lib/domain/ folder.