Affine Modeling of Credit Risk, Pricing of Credit Events, and Contagion - BizPub.ai