loading data from csv files into tables