added preliminary code to read yaml file as a list