add sort,grep and drop duplication class to run mr task.