grafted manardb backend onto league calculation code