code: def create(cls, path_name=None, name=None, crawlable=True):
          
  
          project = cls(path_name, name, crawlable)
  
          db.session.add(project)
          db.session.commit()
  
          return collect_results(project, force=True)
docs: initialize an instance and save it to db.