Tweaked templates and generators.  Added build script.