added apiLayer code for similarPckgNames(String pckgName)