groovy/grails learning project -- rest service based on software domain