move loadCoonfiguration away from helpers, not needed outside