use a factory method to create a processor class

Using a factory method lets us dry up the `Processing` module.