Add layout and template