Essays on E-Commerce and Retail