moved read and write to csv to data access class.  added mac vs pc path difference considerations