Started on new network code and network simulator