refactored pipeline components as a class.
Added in support for logging.
Added links to input and output exchange groups in provenance information through a process subgroup.