code: func NewMain() *Main {
  	return &Main{
  		ServiceName: DefaultServiceName,
  		Addr:        DefaultAddr,
  		DataDir:     DefaultDataDir,
  
  		Process: redis.NewProcess(),
  		Logger:  log15.New("app", DefaultServiceName),
  
  		DiscoverdClient: discoverd.DefaultClient,
  
  		Stdin:  os.Stdin,
  		Stdout: os.Stdout,
  		Stderr: os.Stderr,
  	}
  }
docs: // NewMain returns a new instance of Main.