Moving code to grails-data-mapping project