network code rewrite

Such clean
less code
much faster