remove magic from decorator and fix function binding
accept command name in decorator
pass command_name to the command function itself