adding controller.php