added class Cdr.php