Added Keyboard Event handling (Still WIP)