refactor stripes pipes, create early version of stripes pipe API, for #1670