Added REST controller to communicate with the mobile app. Specs to be written