Updates to pipeline, bug fixes with learner, neater result objects