code cleanup, added configurable repeat interval and remote iplist json file; see sample.