rename view.php -> index.php