Initial template variable interpolation work

Not quite there ..... lol