Added pipeline model and controller