refactoring for unique java package names.