Closes #7 Closes #6 on_end pipeline and step and on_init step