update thesis.latex

restructure, also add some headings