Global variables for all templates and add a first version