Add CSV export functionality