This branch adds the network stats feature as requested in #34
I've considered changing the code according to the previous discussions .
The previous discussions can be checked here.
In case there is any previous comment which I haven't addressed or sth else needs to be changed pls let me know