Moved stream management into Class

Added option for monitoring
added pauseRecording and modified stopRecording