Improve sphinx docs, move more README code to docs