STS-3204 Initial implementation to support environment variables and
additional refactoring of service tunnel command feature.