Implented first version of the YAML config system.
Typo fixes.