Fix rest controller configuration.
First attempt to integrate with todo rest endpoint.