code: func setupCodebase(appl application.Application, cb *codebase.Content, spaceID uuid.UUID) error {
  	if cb.CodebaseID == "" {
  		newCodeBase := codebase.Codebase{
  			SpaceID: spaceID,
  			Type:    "git",
  			URL:     cb.Repository,
  			StackID: ptr.String("java-centos"),
  			//TODO: Think of making stackID dynamic value (from analyzer)
  		}
  		existingCB, err := appl.Codebases().LoadByRepo(context.Background(), spaceID, cb.Repository)
  		if existingCB != nil {
  			cb.CodebaseID = existingCB.ID.String()
  			return nil
  		}
  		err = appl.Codebases().Create(context.Background(), &newCodeBase)
  		if err != nil {
  			return errors.NewInternalError(context.Background(), err)
  		}
  		cb.CodebaseID = newCodeBase.ID.String()
  	}
  	return nil
  }
docs: // setupCodebase is the link between CodebaseContent & Codebase
  // setupCodebase creates a codebase and saves it's ID in CodebaseContent
  // for future use