Set up framework for networking the game. We should probably copy chunks of functionality from working game in one at a time.