add new BuildStats class to fet build statistics