setEnvironment must be a class method
Merge pull request #56 from Clubjudge/set-environment-class

Refactors setEnvironment to a class method