Rewriting server code, implemented network manager.