Separate server and client