The main goal of the North at the beginning of the war was to_____________.