Added an input manager along with an event listener that can be used for the GUI