add diagram to README and improve the text