FW_stats package

with unittests and command line support