In the south the majority of African Americans were segregated and treated unfairly. They didn't get paid as much and were not treated the same as white folks. So they went to the north where it wasn't as prevalent. There was still racism there just not as bad.
Democrats favored expansion in order to increase their power in Congress and expand slavery; Whigs opposed expansion because they feared losing power in Congress.