Changed index.php moved to controller