Started using layers to generate HTML
Added internal and external citation generation, added appendices and interpretations