implemented dir, zip and phar packer