Adapted Event directory and added SymfonyEventDispatcherAdapter