Added a lot of events and updated plugin system