Refactoring create classes package.