Added stats API controller