refactored createKeyStream && createValueStream
Merge pull request #8 from alessioalex/master

refactored createKeyStream && createValueStream