experimenting with transformation output struct
change to handleId manager

Added indirection to support reallocating source memory