cleaning
update class definition
do not create the file handler in thresholds object