Created a command and handler.