fix formatting and added longtable package
added toc and updated titlepage