clear html files and rename template to index