Start of project

OK so here you are mixing up reading from the CSV, sending info to the server, and writing to the respective CSVs. It's best, IMO, to separate these out. Here's pseudo-code of what I'd expect this this look like:
```
created_contacts, not_created_contacts = create_contacts_from_csv(csv)
created_contacts_csv = write_created_contacts_to_csv(created_contacts)
non_created_contacts_csv = write_not_created_contacts_to_csv(not_created_contacts)
```
And then implement ```create_contacts_from_csv```, ```write_created_contacts_to_csv```, and ```write_not_created_contacts_to_csv```. (Can probably just do that as private methods in this controller).

Do you get what I mean?