Saving changes before testing custom template system.

This commit has a good implementation using Twig. It's not complete, but some progress was made.