I agree, but with one, huge exception: they did achieve what they were formed to do initially, eliminate slavery. The thing is, the Dems have never changed. They have always been about slavery, one way or another.
I think that they have been more consistently about the spoils system than slavery—though the two are closely related.