Implement YAML files. Fixes #23