implemented PAPStat class
Merge branch 'master' of https://github.com/knly/PAP2