Hi,
The Codesmith templates are not meant to generate finished solutions. I almost always modify the code after generating it, I just use it to save some typing. You are free to modify the generated code and you are also free to customize and make your own versions of the codesmith templates according to your needs.
Best,
Joe