Added the ability to load settings from a configuration file.