relocated pipe api hofs outside pipeEvents module, api calls delegate to these after curry