moved crafty, added logging to serverside socket