instead of passing in `env` to this class, just use process.env.NODE_ENV directly