MyThreadProcessor class

class whose threads are generated as well as provides task to perform to threads generated by monitor thread.