code: def kernels_initialize(self, folder):
          
          if not os.path.isdir(folder):
              raise ValueError('Invalid folder: ' + folder)
  
          resources = []
          resource = {'path': 'INSERT_SCRIPT_PATH_HERE'}
          resources.append(resource)
  
          username = self.get_config_value(self.CONFIG_NAME_USER)
          meta_data = {
              'id': username + '/INSERT_KERNEL_SLUG_HERE',
              'title': 'INSERT_TITLE_HERE',
              'code_file': 'INSERT_CODE_FILE_PATH_HERE',
              'language': 'INSERT_LANGUAGE_HERE',
              'kernel_type': 'INSERT_KERNEL_TYPE_HERE',
              'is_private': 'true',
              'enable_gpu': 'false',
              'enable_internet': 'false',
              'dataset_sources': [],
              'competition_sources': [],
              'kernel_sources': [],
          }
          meta_file = os.path.join(folder, self.KERNEL_METADATA_FILE)
          with open(meta_file, 'w') as f:
              json.dump(meta_data, f, indent=2)
  
          return meta_file
docs: create a new kernel in a specified folder from template, including
              json metadata that grabs values from the configuration.
               Parameters
              ==========
              folder: the path of the folder