Expanded the document quite a bit

Added some references and started with minimal examples.