Implementing sendThresholdInfo and a starting learning process
sendThreshold is returning void
Implementing startLearning on the server