adding in event emmitter and tests
Merge pull request #8 from jacoblwe20/master

event emitter and tests