Add specific class to be used for Card List IO

Also organized and commneted a lot of the code.