PHP class to manage JDFs