added a lot of diagrams and prettified things in general. wordcount more or less unchanged