Added "params" file and put the Preprocess into another class