created global queue
added break
made executor service a global variable
added Handler and options to turn Network on/off