Create pm-main.php