maxfrequenyclean got cleaner!
Made a class of the wrapper file