add the done function and the archive list
update storage class with the method writeArchive and readArchive