use yaml for configuration file