index.php and tpl files added