Refactor logging
Add a system module to retrieve system infos

and use it for the log file.
Add coverage support