created the new version and tests for the credit card constraint
moved building functions into a support module
added null check in credit card constraint check method to ensure it returns a boolean
created the new and improved validator constructor