Adding Merge and Join functionality

- Adding Merge and Join functionality.
- Streamlined StreamWrapper
Removed unused functions