database strudter modified to support repo based weighting of the statistics
oops
collects more info by repo for each user