Create cpt.class.php