Refactor key down event handler

Refactor key down event handler so controller passes on the key press to
the model