adding BasicStream implementation. Stripped down version of current implementation