Separate client and server