Added reference.html, various adjustments