seperating the server and cli stream further