Rename project restful-app to rest-app

Rename project restful-app to rest-app;
Refactoring generic classes of android-app project.