Simplified verify only code, added new interfaces to parse and verify
Added unittest for verifyOnly()