Setting up the structural template