implemented basic version of requirejs stat collector and module group calculator