Rest Resource

I edit the request class to handle routes  for a RESTful app.

```
GET: /resources
GET: /resources/:resourcesId
POST: /resources
PUT: /resources/:resourcesId
DELETE: /resources/:resourcesId
```