Essays On The Mortgage Market