Update pm functions folder with new structure, add endOfProcess Page