Create commonController.php