Improve the dispatcher.
Connect the networking code to the models and add debug messages