Added eventBus and replaced notification.

closes #316