adds sample config YAML file
cleans up root_nh_ declaration + initialization
uses foreach