generated controller and todo service