Added bucket functionality to grails