This could be many things, but assuming that this wide range of people are organized into smaller units such as states, this would most commonly be referred to as a republic.
Answer: Originally, the whole point of the war was to preserve the Union. However, the Emancipation Proclamation made the war about the abolishment of slavery.