Fixes some errors and creates stuff to actually create the book