Spruce up the example config file
Check for required config values as proposed in #6
Fix config reading