Create RegisterEvent.php