more work on converting the config to a sevice