fix package name generation and imports in template