added class to get config from ini file.