Code template set up for Blocks tool

This isn't much more than the template code but things have been renamed to Blocks. Might as well make sure we're all starting from the same base.