Implemented pipeline, removed unnecessary method from classes (fix #1)
Implemented pipeline using Pipeline class
Fixed bugs in implementation, finishing #3