Fix Task threading and add in view commented adding data from csv to db