ptry grails structure