Added functionality to launch pipeline and moved some code around