Added ability to specify cache class name via an environment variable as well as a system property.