finished PH fix

Package handler now uses a list of dicts instead of a dict of dicts.
Much easier to loop through.