Add function to print debugging log
Create hotkey's loop server interface
Create new hotkeys api
Add mock object for test
Add test