Removed HackThread. Code cleanup