Added convenient PipelineBuilder class with builder API
Modified examples to use builder API