How templates are organized