Update documentation, add examples

Add component overview and examples to README, and format with RST.

Add example programs for using the API.