refactor csv import to environment
update models