rename Lay to App,add flow chart