added stats api
Merge branch 'master' of https://github.com/glebec/gnitty