Create KeyboardShortcuts class to manage keyboard shortcuts.