refactored as event emitter
partly refactored
refactored unsubscribe tests
updated readme
test clean up
clean up emiiter unsubscribe
Merge pull request #1 from iamalarner/refactor

Refactor