Beginning of base templating. Refs #44. Refs #45.