Adding and formatting documentation for Sphinx.