Working example. Still needs tests and more validation checks.
You can now shut the company.
Starting on tests.
Needs last two tests. Tested for memory leaks, none found.
Working version, fully tested, covered and documented.
Merge pull request #1 from alexlangberg/event-emitter

Event emitter