Added Card Factory to load cards from JSON rather than having to define them in code