Use enum for packaging type instead of string.
prepare library extracted to dedicated method.
Remove duplicate unzip

Until now we unzipped twice

The first time via unarchiver, the second time via shell script.