Add upload_csv functionality