Defined ITextStream

I am still unsure about the events things..
WIP