Changed hello_world sample to use a passed in config to reduce complexity of running the sample.