Added RestReource class to be inherited by classes that are resources.

- App now a rest resource. Should be able to create, update, destroy an app