Economy, migration and the union of Central America