Refactoring and #37

* Refactored FavoritesActivity for better maintainability
* Fixed #37 
* Added mo REST-API