Hm csv export

A ton of changes including adding export, fixing manual upload and removing an extraneous helper