Merge pull request #9 from yurigorokhov/api-stats

Api stats
WIP for api statistics