Add csv export functionality
Merge pull request #46 from johngian/csv

Add csv export functionality