Added ability to construct card using a string representation.