refactored config to custom sections specific to each provider.