Fix #15, complete Monitor using Sigar
Fix #13, a flag is used to set running mode