added master class to run the tool