issue #3 - first steps towards flexibility in the number and appearance of card layouts

ideally the directive test wouldn't need the actual cache to be filled with cards, but yet another pain due to the design choice of only having cards in an array