Adds a separate HTML file, bug fixes in html frontend