added ServerEnvironment class