added a model for cohort validations
formatted code in cohort_validation