implemented relative links and table of contents mechanism, alphabeticsed routes.rb and removed unneeded page_types entry