stream module and templates