turn NetDispatcher into a module