support for config via SofiaConfig struct