Implemented basic CSV export.