remove index.php, add view for controller.