Changed mapreduce code to a module of its own, changed the nameof the
current serial implementation and created a factory to isolate
implementations from outside code.