Made everything into titles

There's also a table of contents and figures now.