pipeline refactoring. functions use P.run() only.  All other functions in module file.  Tasks now executed as scripts"