Merging map/reduce job classes (simple factory pattern)