ported head, tail, cp to new structure
ported head, tail, cp to new structure
first draft of pipelineable utils