add processor class structure.