Some minor improvements to the stream code
Add stream doc
Added remaining docs