added a config checker that will check all config defines, add missing defines for whcih we have a good default value and throw an error on missing important config values