modified: move index into main html file