Feature/472 convert config to yml

Converts config to Yml, validates it and makes config easier to parse.
Is the fix in a separate branch? Because this is still an issue on the current develop.