Factor out statistics stuff
Add requested features to readme