Networking code overhaul proof of concept

-todo-