Added Packages constructor function