Feature/472 convert config to yml

Converts config to Yml, validates it and makes config easier to parse.
I even wrote that code, however, I do not want any link between migration code and the actual application to make sure it keeps working when the application changes. This is something that went wrong with some php database patches in the past. So therefore I copied a part of it.