First CSV Export Commit

Works but need to test more extensively.