Feature/472 convert config to yml

Converts config to Yml, validates it and makes config easier to parse.
Yet Another Nitpick: ```DB``` and ```Db``` are used interchangably, I'd suggest using ```Db```.
Also the empty docblock above could be removed.