Added the beginnings of an event handling system for sending keystroke information