Added template files and code