Set date explicitly instead of using implicit cast.
Add method and option to generate csv file for donations.
Extract sync and export code into their own files.