set up formatter to remove space in empty for
implement ThreadedSensor#main()