starting to port the cohort upload

Change-Id: Ie18b420d5581139069b8650f61c2af40fbae3979