code: def create(controller_id, name):
          
          def _decorator(cls):
              class _ControllerClass(cls, Controller):
                  def __init__(self):
                      Controller.__init__(self, controller_id, name)
                      for key in cls.__dict__.keys():
                          prop = cls.__dict__[key]
                          if isinstance(prop, KerviValue):
                              if prop.is_input:
                                  self.inputs._add_internal(key, prop)
                              else:
                                  self.outputs._add_internal(key, prop)
                      cls.__init__(self)
              return _ControllerClass
          return _decorator
docs: Turn class into a kervi controller