Data files written, now implementing ajax to display/import data properly.