added ICMP, started connector,fixed minor bugs