Validate config file
We need a way to be sure we're getting integers and strings, and establish rules about which settings we are getting from the config file.
It needs to be a step before importing it. A wrongly written config file should cause the app to exit (or ignored if the file is being improted after being modified during runtime via configwatcher)
Validations like with karafiles can be used for this.