code: def add_command(self, command, function, description=None):
          
          super(Program, self).add_command(command, function, description)
          self.service.register(command, function)
docs: Register a new function for command