Fixed some comments
Added YAML config support.

Config parsing has been moved to package util, the example configs need
updating.