added functions to export the data to csv.
added exported csv's