add config.yaml and read config from it