Put all the event listeners in the controller.