added backend for managing the json files