Share one implementation of CReadConfig between both console apps