In the 19th century, the city was transformed by development relating to its status as a trading center, as well as by European immigration. What political machine controlled New York politics in this era