Who was the commanding general of the Confederate Army from start to finish?