changed the pkg command to make it easier to parse and updated the parsi...

...ng lines

for #34, changes to package parsing.