Essays In Mortgage Markets And Public Investment Cycles