Added plugin system based on Symfonys Event Dispatcher