Started on writing some documentation in sphinx.