clean install.php and add templates folder