creation of processor package
Add event & listener for the processor state