Added savePlayerStats function, and the server can now be connected to using kryonet