Changed List to Dictionary in the Processor class