Grails application for taining