Use tabulary instead of tabular for latex tables

Makes it possible for the cell contents to wrap inside the cell instead
of having them printed off page.
Make tex file a documentclass book instead of article
Move config to a separate file