Added colors for cards, and added type property to history response class