first implementation of the csv file loader with tests