rename packageName to defaultPackageName
Create methods to use packageName as a parameter