An API based Todo Rails app