rename rest/controller to rest/api