Yaml tool

- write out the yaml file. right now in cwd.
- the main design is per-file, so the yaml files named per-file.
- need to think about the generalworkflow.