Main module; made conn->chann work with c3p0 managed connections