Added the stat and simple field modules. Fixed an error in PGSTable.