split coffee into server and client