Refactoring StatsService and adding README.md