Added basic implementation of archive command.