Config file regenerates

Config file regenerates on each start up and uses updated infomration.
Can add new fields.

ALso exception stack traces printed to log only for most exceptions.
Only the occurance of an exception shows up in both console and log.