People from other countries don't have as much freedom as people in America do, so most of the time people move here for more freedom and to get away from war, etc.
Karl Marx proposed communism as a solution to the problems created by the Industrial Revolution in his work The Communist Manifesto, along with Friedrich Engels.