added DeviceEnvrionment loookup
Merge pull request #1065 from xliiv/dev-env-lookup

added DeviceEnvrionment loookup