You might like to look at two posts I have made on this subject, although I'd be happy to answer any further questions.
This one looks specifically at America's role and motivations in the civil war.
This puts it into perspective alongside the other Allied powers.