Implemented new class Msg_Thread which allows for threaded facilities