Updated index to move controller from html tag to body tag.