[Application] Refactored around the new EventDispatcher

The application's event listeners are replaced with a new plugin concept.