restructure app template docs