Made separate files for server and client. No code changes.