temporarily added data model to file (will be abstracted to JSON file) and got the data into localStorage