Moved access to .env file out to Environment object

This probably needs to be renamed.