Converting to grails app