Replaced const istream& with istream& in config_file's constructor and cleaned source code.