Some documentation, and the beginnings of a refactoring for the configuration (lots of booleans and other things added that should be merged