Add YAML source code (unused for now); Introduce more classes to separate bits of Analyzer out.