setup reading config info from a yml file