Add a destructor to Renderer
Create the EventsHandler class
Handle events