removed unnecessary class
changing threading logic.
Merge remote-tracking branch 'origin/master'