Added pipeline to Main, added button to UI