Created separate threshold Module and bound it to the project