fixes #7 and #9

Docs are now buildable with sphinx