Fixed package constructor and made it more flexible.  
Takes a map with any number of values and dynamically creates a property for each.