feature: card store + slice utility

+ adds a card store for maintaining a single in memory copy of a card
+ adds a slice utility for message slicing
+ refactors some of the handlers to use the slicing and card store