Streaming implementation
Added support for search and replace on streams, support for string replace