MokaEnvironment is now a Singleton so that the REST resource can have full access to it