Added card factory

Override card factory to customize cards