Create converter class and a sample.php