search packages by license
minor stuff
code rework