added index to html and added formatting.