Adds key event handling and basics.

Basics: beginning/bare bones implementations of classes.