Added new stream facility styled as C++ iostream and stdio

New stream frame-work to replace all io, filter related functions.
Currently implemented file based stream and buffer based stream.