add user input, user will input the repository name to know the type
split the data processing functions,add some comments
data processing functions split from thresholds_functions