Separated out Card to its own file, tests