Credit Risk Modeling: Design and Application