add config_file class variable, and load_config use it