Switching to RESTAdapter for rails backend.
Added rails backend.