add loadConfiguration function for customizing config file location.