archive command refactored to use ArchivedURL internal and to also return it. will require CLI rework but work it. writing of files now handled by the class. Fixes #20 and fixes #21.