extracted compressor and extrator to archiver lib

Signed-off-by: Ted Young <tyoung@pivotallabs.com>