How San Francisco Became a World-Class City