Thinking of how to create a simple templating engine