feat(config): added common mechanism for reading in a yaml config file