Use gcc instead of g++
Many changes

* Use queue to stock msgs
* Simpler Makefile
* Not tested yet
Add print recent msg & some CLI analysis.