Add exclude feature to getClassesForPackage