PHP class to manage JDFs and JMFs