Move Stream classes to own project