Essays in two-sided platforms