Updated minimongoid to allow custom _ids. Added unique function. Refactored card metrics.