Add a class to wrap verification method.

The object paradigm might not be the best way to do this.
Will refactor at the end.