Add network name and kwargs to createServer.
Fix network addition, removing commented out code.