Refactoring code a bit so that parameters necessary cohort manager is in a separate file.