refactored the view of cohort to be a bit nicer and removed different yaml configs for mongoid