Created Yaml handling for config files. Has smell, but it works.