Added Petition and BackEndFunctions classes.