Added JSON parsing, and getting data from external file