First version of a statistics manager.