Introduced Preconditions class
Merge pull request #73 from gshutler/preconditions

Introduced Preconditions class