Give HadoopPipeline a factory method to instantiate.
Update documentation in HadoopPipeline.

Typos, and class comment added.