Added a stats controller.