Break out client-specific and server-specific functions from n_main to cl_main and sv_main respectively