Added initial version of pm-add and pm-scan.