Added javadocs for CardInventory