Started to add the base for networking.

Networking will be added later, just laying the foundations currently.