What was the primary objective of the Union Army during the Civil War?