Implemented KeyEvent, added InputHandler