code: func NewBeeConfig(name, class, description string, options BeeOptions) (BeeConfig, error) {
  	if len(name) == 0 {
  		return BeeConfig{}, errors.New("A Bee's name can't be empty")
  	}
  
  	b := GetBee(name)
  	if b != nil {
  		return BeeConfig{}, errors.New("A Bee with that name already exists")
  	}
  
  	f := GetFactory(class)
  	if f == nil {
  		return BeeConfig{}, errors.New("Invalid class specified")
  	}
  
  	return BeeConfig{
  		Name:        name,
  		Class:       class,
  		Description: description,
  		Options:     options,
  	}, nil
  }
docs: // NewBeeConfig validates a configuration and sets up a new BeeConfig