restructuring. working on YAML. added ShowYAMLError. fixed logic error in main.
design notes