Added KeyboardInputHandler class and some tests were done