Added the main execution method for the processor.