Let's get one thing straight. You can never separate the confederacy (or their flag) from slavery. Here it is in their own words.
The Declaration of Causes of Seceding States
The Declaration of Causes of Seceding States