Add a version template var and improve demo layout
Create and use a template environment object