Added Unit Tests

Added unit tests. Removed CreditCard interface. Re-factored methods as
static where applicable.