Data science - Revision 2

if the create cohort behavior is moved to the cohort class you can simplify this class quite a bit, and simply call Cohort.new(cohort_name,data) here.