the second great wave of lasting architectural achievements came about a century later , when philadelphia was absorbing hundreds of thousands of immigrants and putting them to work making everything from trains to tools to railroad tracks .