Changed project type to `lib`; Added generic paramter to `Packer`
Added examples