added exposure/outcome schema parameters, and made input of user-defined cohort construct works across.
added extra parameters to handle exposure/outcome schema when using non-standard cohort table input