Improvements to save the data from the CVS in a DB