restructured the repository, fixed issue with PDF generation

I completely restructure the ../pages directory, fixed the issue with duplicate TOCs in PDFs. Added links to the PDF files on the title page.