Some additions to the front end and initial definition for php classes