Add emitter and stream types

Changes:
- Add stream type
- Add read-stream type
- Add write-stream type
- Add emitter type