Moving keyboad utils into its own file