Added a KeyManager class to handle key presses and the like

Pretty simple, works well.