Refactor to single file exporter. Separated logging. Start with clinical data export.