Stream class completed!

What a hell of a headache this was.
Added memory stream support.
Added compression support.
Added serialization support.