Read config from YAML file