Code cleaned
Moved config values getters to functions

Forced typos in config getters to trigger fatal errors instead of hidden silent errors (which are hard to track)