refactored Card and LL to reduce coupling, added grouping for files