Integrate with kindlegen, closes #3.

Also update preview instructions in the readme.