extract base class from pipeline implementations
move require_libraries to base class
Merge pull request #25 from ujifgc/extract-base

Extract base pipeline class