move route to YAML