adding stream module
fixes to get processing working