adds stats namespace and removes stats controller