refactroring statistics: controller, presenter, filter