- some parameters transfered to app args
 - compare discrete dwell versus continuous dwell
 - correction in the continuous dwell algo
 - code refactor