added constructor example
added stream/serialization example