Feature/472 convert config to yml

Converts config to Yml, validates it and makes config easier to parse.
The 'guardian' of guard clauses strikes again ;-), But you are right, this code is mainly a copy of SSP code but I changed it