Essays In Credit Risk Management