added first draft of new templates table

Contains the work required for #116. This is currently incomplete and in a first draft state.

I'll continue to deliver changes to this branch until I'm happy with the results.