Refactors code.

Introduces common regularChecker base class.

Refs #123
Fixes registration issue.