Adding data directory and JSON data