Added archive and tests.  Thanks Stephen Paulger!