updated network simulator to new class layout and ids
bug fixing in Network Simulator