Added package existence check
Added deleting package