docs: def register_model(self, storagemodel:object, modeldefinition = None):
          """ set up an Queueservice for an StorageQueueModel in your  Azure Storage Account
              Will create the Queue if not exist!
          
              required Parameter is:
              - storagemodel: StorageQueueModel(Object)
          """
          if modeldefinition is None:
              
              """ test if queuename already exists """
              if [model for model in self._modeldefinitions if model['queuename'] == storagemodel._queuename]:
                  raise NameConventionError(storagemodel._queuename)
  
              """ test if queuename fits to azure naming rules """
              if not test_azurestorage_nameconventions(storagemodel._queuename, 'StorageQueueModel'):
                  raise NameConventionError(storagemodel._queuename)
               
              """ now register model """
              modeldefinition = {
                  'modelname': storagemodel.__class__.__name__,
                  'queuename': storagemodel._queuename,
                  'encrypt': storagemodel._encrypt,
                  'queueservice': self._account.create_queue_service()
                  }    
  
              """ encrypt queue service """
              if modeldefinition['encrypt']:
  
                  # Create the KEK used for encryption.
                  # KeyWrapper is the provided sample implementation, but the user may use their own object as long as it implements the interface above.
                  kek = KeyWrapper(self._key_identifier, self._secret_key) #  Key identifier
  
                  # Create the key resolver used for decryption.
                  # KeyResolver is the provided sample implementation, but the user may use whatever implementation they choose so long as the function set on the service object behaves appropriately.
                  key_resolver = KeyResolver()
                  key_resolver.put_key(kek)                           
  
                  # Set the require Encryption, KEK and key resolver on the service object.
                  modeldefinition['queueservice'].require_encryption = True
                  modeldefinition['queueservice'].key_encryption_key = kek
                  modeldefinition['queueservice'].key_resolver_funcion = key_resolver.resolve_key
              
              self.__create__(modeldefinition)
                  
              self._modeldefinitions.append(modeldefinition)
  
              log.info('model {} registered successfully. Models are {!s}.'.format(modeldefinition['modelname'], [model['modelname'] for model in self._modeldefinitions]))
          else:
              log.info('model {} already registered. Models are {!s}.'.format(modeldefinition['modelname'], [model['modelname'] for model in self._modeldefinitions]))
  
          pass