Module handler
Input and command handler.
Handles the key events and executes the application command.