refactored server persistence, still needs separate save thread