Added objects for storing key press information

Includes changes to the gui that demonstrate the work.