move app html into template