Moved working point and max number of sampling iterations to the config file.