So many corrections. Verified mull threaded runs with sample tests.

Verified mull threaded runs with sample tests added.
Lot of unnecessary code deleted.
New necessary classes added.