refactored ctor params to ExecutionEnvironment