Essays On Trade And Foreign Direct Investment Costs And Migration