added AGPL license text to header of template file