Coded the server's network stuff, added XML and Statistics too.