move config to yaml