Move the version checker registration to the end of preInit, make sure the logger is initialized first.
Moved the logger into the Reference class.