added processor class to enable  parallel task handling