Transformed lwm module into stats collector module.

Renamed stats module to stats printer module to make it more clear what
it does. Updated other modules and headers to accomodate this changes.