REST backend for todo app written in Grails