adding yaml format for config file
updating to yml, removed is.na(x) append
typos fixed and tested
removed debug print
set up for yaml read in and process