changed config file to YAML