build todo service as actual service, not factory