Create reghandler.php