add start/stop and Wh logging to command line tool