Adds Demand class to classes.php