implement addListeners methods in InputManager, created KeyListener.h