Updated the app's logic to parse data from json files