Back to Python 2.x
Use class for card validation
Throw value error on bad response