Add logic for .csv upload

Begin to write logic in the controller and model to upload
.csv files and save them to the database.