add class package scan method