Setup Stream object