Finalized package builder - added cloning/patching and package removal