(feat) adds mongo controller and formats codeFrequency stats into d3 friendly