Factorize initialize method and create a set of substeps in the form of protected methods.
Bug fix: checking for map-reduce output when parsing job id. If there is an parsing error, the job finishes without an exception.