Completed code examples; updated composer.json