Updating code snippets and renaming section to docs rather than demo where appropriate