Filled in in the structure and modified preface and introduction. Moved some stuff.
Removed some test-code for letting chapters start at the same page. Remaining is the code that can do this, but at the moment the chapters can start on separate pages.
Included third party library part into the document.