Feature/472 convert config to yml

Converts config to Yml, validates it and makes config easier to parse.
This doesn't work with nested values. This breaks the integration tests running against API 2.0. Could you fix that?