Refactored download_iati_data, rough integration with web app UI