Implemented Processor class