move app to index.html