Add overriding capability for creating the output stream
Fix
Remove STM dependency from Shifter