Use CBV for the archive.

Also moved the stuff related to updating the archive into 'tasks'.