implements credit card validation

References:

* #422 
* #444