Adding CardController and removing logic from the Card model. Updating variable names to match naming convention.