added streams and reader support
updated docs