added support for specifying the target package name of generated classes