added method to get Classes of a package for testing