Removed deprecated function calls to get GrailsApplication and Configuration. Now using Holders instead.