Change the doc theme to rtd. Add inheritance graphs. Move the module section to the top. Improve some docs in registration.