added functionality of pkgtree
Merge pull request #1 from bebehei/EHANCEMENT_pkgtree

added functionality of pkgtree; REVIEW CHECKED!