Factored out the resolver code.
Add `escaped-dollar` resolver.
Reorganise code. Add notes about unit testing and the yaml parser
pipeline.