Essays On Financial Contracts And Business Cycles