Some cosmetic touches.
Switched from t-test to Mann-Whitney U test; added a RESTful API to do
KS test though it is not used now.