Add App class to StatsController
remove debug mode