Cleanup, created skeleton multi-thread support. added network reachable support.