Adde index.js, dev.sh and lib/statistics.js