Added pipeline class, (not done)