Base functions and files for template added