Move config-loading code from main class and remove strange-Hoolean whitespace