Created a preconditions class, for checking pre-condition violations
Merge remote-tracking branch 'origin/master'