Convert the config files to yaml

Yaml is already a dependency elsewhere, so we might as well take advantage of its awesomeness in our config files. Also added an example config file (in yaml).