Split functionality

Going to create card as an object instead of a tuple