added pmt/pmtentry read/print funcs, updated constructors, changed interface methods to use pointers