Moved parent pointers to steps and added in analysis_steps to point to the end points of a pipeline.