add base class for find and get-package