reading csv files into class instance