Add app template and index template