added card directive and styles
cards page prepared for API