Add some err checking with cards.json exporting

	* Introduce size method in Collection class
Clean up loading & exporting methods a bit