Update docs to reflect changes in v4.0.0

Fix #11 

Changes to docs and examples to reflect changes to version v4.0.0