Fix a couple of issues with the env object

- Env needs to provide an initializer in order to allow passing values on
initialize
- Env needs to be required in the server in order to use it