Add Keyboard input classes.

Add example implementation of a keybinding to demonstrate how the
classes are to be used.