Added Support for Device Emulator Mode.Network Server Side Rewritten by combining seperate functions to be part of the network thread function.Location of some network variables changed to id_common.h.Added emulator mode in main function arguments.Read and Write comport functions work differently when emulator mode is ON