A RESTFull api for todo application using rails