Initial template files from Gist NADA 3 with some minor enhancements.