Add statistics cli app

And by "this" I mean this class. And also maybe add a cli test for sanity.