Updated to using Spring's environment API to load application
properties.