Cleanup of server code in preperation for player position code.