Moved thread states from module to header
Merge pull request #874 from marcas756/PullReq-MT_STATES

Enhancement : Moved thread states from module to header