Added docs, changes to css, minor changes to script

Added the automated documentation and made some minor changes the the
codebase.