Added YAML config examples, some fixes

Documentation was missing YAML examples, also there were some minor issues.