set_config function

Add configuration settings to a service object.