Adding alert.php and begin of class definition