Implemented the rank column in the karmastats database
All karma operations are now functional