ESSAYS ON INTERMEDIATED MARKETS