Improved HTML and added documentation