Mechanics of the city of Troy, New York