Moved CardFactory to unused package