links added, bugs fixed, pdf template created as pdf.html