add pipeline class to be able to experiment different synchronization methods