documentation for jsdoc3
- EventBus refactored
- tests for EventBus