Revert "IMP : Tried to implement thread, it did not work well"

This reverts commit 5b64d4f723f859d95fced8ba9297886c3c3ab90e.