Added keyboard support
key press check is implemented but not fully working yet.
Add text input event for window class