simplify, remove segments, cohorts, populations and demographic code