Extracted the reading of the configuration into a method.
Move the version checker registration to the end of preInit, make sure the logger is initialized first.